<{section name=i loop=$comments}>

<{include file="db:legacy_comment.html" comment=$comments[i]}>

<{if $show_threadnav == true}>
<div style="text-align:left; margin:3px; padding: 5px;">
<a href="<{$comment_url}>"><{$lang_top}></a> | <a href="<{$comment_url}>&amp;com_id=<{$comments[i].pid}>&amp;com_rootid=<{$comments[i].rootid}>#newscomment<{$comments[i].pid}>"><{$lang_parent}></a>
</div>
<{/if}>

<{if $comments[i].show_replies == true}>
<h4 class="XoopsCommentsThreadTitle"><{$smarty.const._CM_THREAD_TITLE}></h4>
<!-- start comment tree -->
  <ul class="XoopsCommentsThread">
  <{foreach item=reply from=$comments[i].replies}>
  <li><{$reply.prefix}><a href="<{$comment_url}>&amp;com_id=<{$reply.id}>&amp;com_rootid=<{$reply.root_id}>"><{$reply.title}></a>
    <span class="XoopsCommentsThreadInfo">(<{$reply.poster.uname}>, <{$reply.date_posted}>)</span>
  </li>
  <{/foreach}>
  </ul>
<!-- end comment tree -->
<{/if}>

<{/section}>